/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-06-20 10:00:05
 * @LastEditors: voanit
 * @LastEditTime: 2022-06-26 10:19:06
 */
import Vue from "vue";
import App from "./App.vue";

import router from "./router";

// import box from "./components/Box.vue";

// Vue.component("boxCom", box);

Vue.config.productionTip = false;

Vue.prototype.$Bus = new Vue();
import "./plugin";
// var bus = new Vue();
// import plugin from "./plugin";
// Vue.use(plugin);
// import MyPlugin from "./components/MyPlugin.vue";
// Vue.use({
//   install(Vue) {
//     Vue.component("MyPlugin", MyPlugin);
//   },
// });
// Vue.use((Vue)=>{
//   Vue.component('MyPlugin',MyPlugin)
// })

// Vue.filter("toFix", () => {});
// Vue.directive("focus", {});

import mixin from "@/mixins";
Vue.mixin(mixin);
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
